Vcenter Compute Policies Capabilities VmVmAffinity InfoV2
The Vcenter Compute Policies Capabilities VmVmAffinity InfoV2 schema contains information about a VM-VM affinity policy with enhanced object selection capabilities, see GET /vcenter/compute/policies/{policy}.
All virtual machines selected by Vcenter Compute Policies Capabilities VmVmAffinity InfoV2.vm_selector are affined to each other.
This schema was added in vSphere API 9.1.1.0.
{
"name": "string",
"description": "string",
"capability": "string",
"managed_by": {
"entity": "string"
},
"vm_selector": {
"tag": {
"tag_id": "string",
"tag_name_spec": {
"category_name": "string",
"tag_name": "string"
}
}
}
}
Selector that identifies which virtual machines this affinity policy applies to. All VMs selected by this selector will be affined to each other.
This property was added in vSphere API 9.1.1.0.